package constant;

public class Constant{
    public static final int CAPACITY=5; //定义默认的书架长度
    public static final String ALL_BOOK_FILE_NAME="allbook.txt"; //定义以后全部的书籍存储在该文件下
    public static final String BORROWED_BOOK_FILE_NAME = "borrowedbook.txt"; //定义以后的借阅书籍情况全部都储存在这个文件地下
    public static final int BORROW_BOOK_MAX_NUM = 5; //最多借阅书籍的数量(目前仅代表个人的)
    //---------------------------管理员相关操作管理------------------------------------//
    public static final int SEARCH_BOOK = 1;
    public static final int DISPLAY_BOOK =2 ;
    public static final int EXIT =3 ;
    public static final int ADD_BOOK = 4;
    public static final int UPDATE_BOOK = 5;
    public static final int REMOVE_BOOK = 6;
    public static final int BORROWED_BOOK_COUNT = 7;
    public static final int GENERATE_BOOK = 8;
    public static final int CHECK_INVENTORY_STATUS = 9;
    public static final int CHECK_AND_REMOVE_OLD_BOOK = 10;
    //----------------------------------普通用户相关操作管理----------------------------//
    public static final int BORROWED_BOOK = 4;
    public static final int RETURN_BOOK = 5;
    public static final int VIEW_BORROW_HISTORY_BOOK = 6;


}
